package homework;

import java.util.ArrayList;

public class hoemwork6 {
    public static void main(String[] args) {

    }
    public static String printList(ArrayList<Integer> list){
        String s="";
       for (int i=0;i<list.size();i++){
           if(i==list.size()-1) {
               s=s+i;
           }
           else{
               s = s + "@";
           }
       }
        return "{"+s+"}";
    }
}
